package com.aliang.shopping.exception;


import com.aliang.shopping.common.ResultCodeEnum;


/**
 * 业务异常
 */
public class ServiceException extends BasicException {

    public ServiceException(ResultCodeEnum resultCodeEnum) {
        super(resultCodeEnum.getCode(), resultCodeEnum.getMessage());
    }

    public ServiceException(String message) {
        super(299, message);
    }
}
